<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }%>
<!DOCTYPE html >
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>铸件配件添加</title>
    <link href="/assets/css/layout.css" rel="stylesheet" type="text/css">
    <%if(request.getAttribute("s")!=null){
        out.print(request.getAttribute("s"));
    }%>
    <style>
        body{
            font-size: 15px;
        }
    </style>
</head>

<body>
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#AEDEF4">
    <tbody>

    <tr>
        <td height="25" colspan="7" align="center" bgcolor="#D6F2FD">
            铸件/配件添加
        </td>
    </tr>
    <tr><td colspan="7"><span style="color: red">*</span>为可选,填写之前请先查询</td></tr>
    <tr>
        <td height="25" align="center" bgcolor="#FFF9DF">铸件/配件编码</td>
        <td height="25" align="center" bgcolor="#FFF9DF">铸件/配件名称</td>
        <td align="center" bgcolor="#FFF9DF">规格</td>
        <td align="center" bgcolor="#FFF9DF">商标<span style="color: red">*</span></td>
        <td align="center" bgcolor="#FFF9DF">压力<span style="color: red">*</span></td>
        <td align="center" bgcolor="#FFF9DF">操作</td>
    </tr>
    <tr>
        <form action="/hpsAdd.do" method="post">
        <td height="25" align="center" bgcolor="#FFF9DF"><input type="text" name="h_no" value=""></td>
        <td height="25" align="center" bgcolor="#FFF9DF"><input type="text" name="h_name" value=""></td>
        <td align="center" bgcolor="#FFF9DF"><input type="text" name="h_size" value=""></td>
        <td align="center" bgcolor="#FFF9DF"><input type="text" name="h_r" value=""></td>
        <td align="center" bgcolor="#FFF9DF"><input type="text" name="h_n" value=""></td>
        <td align="center" bgcolor="#FFF9DF"><input type="submit" name="insert" value="保存"></td>
        </form>
    </tr>
    </tbody>
</table>
</body>
</html>